package com.lxmes.procontrol.mapper;

import java.util.List;
import com.lxmes.procontrol.domain.NcProProcessControl;

/**
 * 生产过程控制总Mapper接口
 *
 * @author ruoyi
 * @date 2022-11-26
 */
public interface NcProProcessControlMapper
{
    /**
     * 查询生产过程控制总
     *
     * @param id 生产过程控制总主键
     * @return 生产过程控制总
     */
    public NcProProcessControl selectNcProProcessControlById(Long id);

    public NcProProcessControl selectNcProProcessControlByPcCode(NcProProcessControl ncProProcessControl);

    /**
     * 查询生产过程控制总列表
     *
     * @param ncProProcessControl 生产过程控制总
     * @return 生产过程控制总集合
     */
    public List<NcProProcessControl> selectNcProProcessControlList(NcProProcessControl ncProProcessControl);
    public List<NcProProcessControl> selectNcProProcessControlListCheck(NcProProcessControl ncProProcessControl);
    public List<NcProProcessControl> selectNcProPC(Long planId);

    /**
     * 新增生产过程控制总
     *
     * @param ncProProcessControl 生产过程控制总
     * @return 结果
     */
    public int insertNcProProcessControl(NcProProcessControl ncProProcessControl);

    /**
     * 修改生产过程控制总
     *
     * @param ncProProcessControl 生产过程控制总
     * @return 结果
     */
    public int updateNcProProcessControl(NcProProcessControl ncProProcessControl);

    /**
     * 删除生产过程控制总
     *
     * @param id 生产过程控制总主键
     * @return 结果
     */
    public int deleteNcProProcessControlById(Long id);

    /**
     * 批量删除生产过程控制总
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteNcProProcessControlByIds(Long[] ids);

}
